package service.cfg;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * Created by asus on 2018/10/19.
 */
@Service
public class ServerCfg {
    @Value("#{config['server.user.url']}")
    private String path;
    protected String url="/info";

    public String addWxUser() {
        return String.format("%s%s/add", path, url);
    }
}
